package com.outdoor.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 团队成员关联实体类
 * 
 * @author OutdoorTeam
 * @date 2025-05-18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("team_members")
public class TeamMember {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * 团队ID
     */
    private Long teamId;
    
    /**
     * 用户ID
     */
    private Long userId;
    
    /**
     * 加入时间
     */
    private LocalDateTime joinTime;
} 